﻿/*******************************************************************/
/* Author :  LongTP6B
 * Project:  OFB - Online Feedback
 * Module :  UserFeedback - Context
 * Date   :  28 - 03 - 2013
/*******************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OFB.DAL;
using OFB.BLL.ViewModel;
namespace OFB.BLL.Context
{
    /// <summary>
    /// Feedback common context
    /// </summary>
   public class FeedbackContext : CommonContext
    {
       public DataQueryDAL<FeedbackAnswerViewModel> FbAnswer { get; set; }
       public DataQueryDAL<FeedbackViewModel> Fb { get; set; }
       public DataQueryDAL<FeedbackViewModel> FeedbackViewModel { get; set; }

       public FeedbackContext()
       {
           FbAnswer = new DataQueryDAL<FeedbackAnswerViewModel>(this.connectionStringName);
           Fb = new DataQueryDAL<FeedbackViewModel>(this.connectionStringName);
       }
    }
}
